home *** CD-ROM | disk | FTP | other *** search
- global stopwatchon, stopwatchpause, stopwatchval, bignil
-
- on stopwatchInit
- set stopwatchon to 0
- set stopwatchval to 0
- set stopwatchpause to 0
- end
-
- on stopwatch
- if stopwatchon and not stopwatchpause then
- set x to the timer
- else
- set x to stopwatchval
- end if
- donum(1, bignil, 1, x / 3600 mod 60)
- donum(4, bignil, 1, x / 60 mod 60)
- donum(7, bignil, 1, x mod 60)
- end
-